package com.woniuxy.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/demo")
public class DemoController {
    @GetMapping("/hello")
    public String hello(){
        return "hello world";
    }

    @GetMapping("/hello2")
    public String hello2(){
        return "hello world 66666";
    }
}
